<?

  
  define('IN_PHPBB', true);
  // !!!!
  $phpEx = "php"; 
  
//  $phpbb_root = ((defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './').'/forum/';
  $phpbb_root = 'forum/';

    //    var_dump($phpbb_root . 'common.' . $phpEx);
      //  exit();                                            
  $phpEx = substr(strrchr(__FILE__, '.'), 1);
  include($phpbb_root . 'common.' . $phpEx); 
  include($phpbb_root . 'extension.inc'); 

  //include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
  
  // Start session management
  $user->session_begin();
  $auth->acl($user->data);
  //var_dump($user->data);
  $userdata = $user->data;
  //$user->setup('viewforum');
?>